package com.china08.yxyapi.entity.mg.continuedu;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 
 * 我的收藏
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.tea.continuedu.user.favorite")
public class YxyContinueduUserFavorite extends MongoBaseEntityNoId {

    @Id
    private String id;// id,使用 userId_lessonId 拼接组成,唯一

    @Field(value = "user_id")
    private String userId;

    @Field(value = "lesson_id")
    private String lessonId;

    @Field(value = "lesson_name")
    private String lessonName;

    @Field(value = "upload_user_id")
    private String uploadUserId;

    @Field(value = "upload_user_name")
    private String uploadUserName;

    @Field(value = "upload_date")
    private String uploadDate;

    @Field(value = "count")
    private Integer count;// 总课时

    @Field(value = "cover")
    private String cover;// 封面

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

    public String getUploadUserId() {
        return uploadUserId;
    }

    public void setUploadUserId(String uploadUserId) {
        this.uploadUserId = uploadUserId;
    }

    public String getUploadUserName() {
        return uploadUserName;
    }

    public void setUploadUserName(String uploadUserName) {
        this.uploadUserName = uploadUserName;
    }

    public String getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(String uploadDate) {
        this.uploadDate = uploadDate;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

}
